package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.BaseAttrValue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

/**
 * @Author: Trump
 * @Date: 2025/8/17 19:16
 * @Description:
 **/
@Mapper
public interface BaseAttrValueMapper extends BaseMapper<BaseAttrValue> {
    @Delete("delete  from base_attr_value where  attr_id=#{AttrId}")
    void deleteByAttrId(@Param("AttrId") Long AttrId);
}
